/*
Theme Name: Neighbourhood Change
Theme URI: http://heliozilla.com
Description:
Version: 2.0
Author: Helios Design Labs/ Clayton Paulette
Author URI: http://heliozilla.com
*/

/* ********** GENERAL TAGS ********** */

html {
	height:100%;
	width:100%;
	margin:0px;
	padding:0px;
}

body {
	height:100%;
	width:100%;
	margin:0px;
	padding:0px;
	font-family: "Arial", Helvetica, sans-serif;
	font-size:12px;
	line-height:19px;
	color:#404040;
	background:url(images/header_shadow.jpg);
	background-repeat:repeat-x;
	background-position:0px 252px;
	background-color:#ffffff;
}

h1 {
	margin: 5px 0px 0px 0px;
	font-size: 34px;
	text-transform: uppercase;
	color: #ec6921;
	font-weight: normal;
    /*line-height: 40px;*/
}

h2 {
	font-size: 19px;
	color: #666666;
	font-weight: normal;
}

h3 {
	font-size:16px;
	color:#5d5d5d;
	font-weight:normal;
}

a {
  	outline: 0;
	text-decoration: none;
	color: #00c4e8;
}

a:hover {
	text-decoration:underline;
	color:#00c4e8;
}

img {
	border:none;
	vertical-align:baseline;
}

p {
	padding-top:0px;
	padding-bottom:10px;
	margin-top:0px;
	color:#262626;
}

p a {
	text-decoration:none;
	color:#262626;
	font-weight:bold;
}

p a:hover {
	text-decoration:none;
	font-weight:bold;
	color:#00c4e8;
}

/* ********** STRUCTURE ********** */

#wrapper {
	width: 820px;
	margin: 0px auto;
}

/* ********** HEADER AND NAVIGATION ********** */

#header {
	width:100%;
	height:252px;
	background:url(images/header_bg.jpg);
	background-repeat:repeat-x;
	background-position:center;
	/* background-color:#56b9d8; */
}

#header h1 {
    margin: 0;
}

#banner {
    background: url(images/banner.png) no-repeat center;
    display: block;
	height: 252px;
	margin: 0px auto;
    overflow: hidden;
    text-indent: 101%;
    white-space: nowrap;
    width: 820px;
	
}

#navigation {
	margin:44px 0px 0px 0px;
	width:840px;
	height:33px;
	padding-bottom:16px;
	background:url(images/nav_shadow.jpg) no-repeat bottom left;
}

#navLeft {
	width:777px;
	height:49px;
	display:block;
	float:left;
}

#navRight {
	width:63px;
	height:49px;
	padding-left:0px;
	display:block;
	float:left;
}

.navItem {
	display:block;
}

/* ********** DROP DOWN NAVIGATION ********** */

ul.menu {list-style:none; margin:0; padding:0; font-size:12px; text-align:left; text-transform:capitalize;}

ul.menu * {margin:0; padding:0}

ul.menu a {display:block; color:#000; text-decoration:none; padding:0px;}

ul.menu a:hover {display:block; text-decoration:none; background:none;}

ul.menu li {position:relative; float:right; margin:0px; color:#F1F1F2;}

ul.menu ul {
	position:absolute; 
	top:33px; 
	left:0px; 
	display:none; 
	list-style:none; 
	background-color:#ffffff;
	/* background:url(images/drop_down_bg.png) repeat; */
}

ul.menu ul li {position:relative; width:230px; margin:0px 0px 0px 0px;  border-left:solid 1px #cccccc; border-right:solid 1px #cccccc; }

ul.menu ul li a {
	color:#838383;
	font-size:14px;
	text-transform:capitalize;
	text-decoration:none;
	padding:4px 7px 4px 25px;
	background-color:none;
}

ul.menu ul li a:hover {
	color:#1598c9;
	text-decoration:none;
	background:url(images/sub-nav-arrow.jpg) no-repeat 10px;
}

ul.menu ul ul {
	left:230px; 
	top:-0px;
}
ul.menu ul ul li{
	border-left:0px;
}

ul.menu .menulink {
	

}


ul.menu .menulink:hover, ul.menu .menuhover {}

ul.menu .sub {background-color:none;}

ul.menu .topline {}

/* ********** FOOTER STYLES ********** */

#footer {
	width:820px;
	margin-bottom:40px;
	margin-top:40px;
}

#footerTop {
	width:820px;
	height:44px;
	padding-bottom:49px;
       	border-bottom:solid 1px #c1c1c1;
}

#footerMiddle {
	position:relative;
	width:820px;
	height:64px;
	padding-top:29px;
	padding-bottom:29px;
       	border-bottom:solid 1px #c1c1c1;
}

#footerImageLeft {
	position:absolute;
 	top:11px;
 	left:0px;
	width:200px;
	height:44px;
}

#footerImageCenter {
	position:absolute;
 	top:11px;
 	left:275px;
	width:200px;
	height:44px;
}

#footerImageRight {
	position:absolute;
 	top:11px;
 	left:550px;
	width:200px;
	height:44px;
}


#footerBottom {
	padding-top:28px;
	height:63px;
}

#footerText {
	display:block;
	float:left;
	width:145px; 
	height:39px; 
	padding: 5px 30px 0 0;
	margin-right:30px;
	margin-top: 30px;
	border-right:solid 1px #c1c1c1;
	text-align:right;
	font-style:italic;
	font-size:11px;
	line-height:16px;
        padding-top:27px;
        padding-bottom:49px;
	color:#3b3b3b;
	/* background:url(images/footer_text.jpg); */
}

.footerRow2 {
    display: block;
    float:right;
}

.footerIcon {
	display:block;
	float:left;
}

.searchField {
	width:138px;
	height:11px;
	padding:5px 12px;
	background-color:#fff;
	border:solid 1px #d0d0ce;
	color:#000000;
	font-size:11px;
	margin-bottom:25px;
}

.searchForm {
	width:138px;
	height:11px;
	padding:5px 12px;
	background-color:#fff;
	border:solid 1px #d0d0ce;
	color:#000000;
	font-size:11px;
	margin-right:500px;
	margin-bottom:25px;
}

.searchBtn {
	display:none;
}

/* ********** FORM STYLES ********** */

.submitBtn {
	border:none;
	background-color:#eeeeee;
	padding:3px;
	margin:0px 1px 0px 2px;
	cursor:pointer;
	color:#333333;
}

.submitBtn:hover {
	border:none;
	background-color:#cccccc;
	padding:3px;
	margin:0px 1px 0px 2px;
	cursor:pointer;
}

/* ********** SIDEBAR ********** */

#sidebar {

}

#sidebar h3 {
    margin: 0px 0px 15px 0px;
    text-transform: uppercase;
}

#sidebar ul {
	list-style-type:none;
	padding:0px;
	margin:0px;
}

#sidebar ul li {
	list-style-type:none;
	margin:0px;
	padding:0px;
}

#sidebar ul li a {
	color:#838383;
	font-size:16px;
	text-decoration:none;
	background:none;
	line-height:26px;
	padding:0px 0px 0px 15px;
}

#sidebar ul li a:hover {
	color:#1598c9;
	text-decoration:none;
	background:url(images/sub-nav-arrow.jpg) no-repeat left;
}

#sidebar ul li.current_page_item > a {
	color:#1598c9;
	text-decoration:none;
	background:url(images/sub-nav-arrow.jpg) no-repeat left;
}

#sidebar ul li.current_page_item ul.children a {
	color:#838383;
	text-decoration:none;
	background:none;
}

#sidebar ul li.current_page_item ul.children a:hover {
	color:#1598c9;
	text-decoration:none;
	background:url(images/sub-nav-arrow.jpg) no-repeat left;
}

#sidebar ul li ul li {
	padding:0px 0px 0px 30px;
	color:#1598c9;
	text-decoration:none;
	/* background:url(images/sub-nav-arrow.jpg) no-repeat left; */
}

#sidebar ul li ul li a {
	text-decoration:none;
	/* background:url(images/sub-nav-arrow.jpg) no-repeat left; */
}


/* ********** HOME STYLES ********** */

.six-cities ul {
    list-style-type: none;
    padding: 0;
}

.six-cities ul li {
    float: left;
    margin-right: 39px;
}

.six-cities ul li a {
    background-image: url(images/six-cities.png);
    background-repeat: no-repeat;
    display: block;
    height: 34px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    width: 104px;
}

/*.six-cities .city-halifax a:hover   { background-position: 0 -34px; }*/
.six-cities .city-montreal a        { background-position: -104px 0; }
/*.six-cities .city-montreal a:hover  { background-position: -104px -34px; }*/
.six-cities .city-toronto a         { background-position: -208px 0; }
/*.six-cities .city-toronto a:hover   { background-position: -208px -34px; }*/
.six-cities .city-winnipeg a        { background-position: -312px 0; }
/*.six-cities .city-winnipeg a:hover  { background-position: -312px -34px; }*/
.six-cities .city-calgary a         { background-position: -416px 0; }
/*.six-cities .city-calgary a:hover   { background-position: -416px -34px; }*/
.six-cities .city-vancouver         { margin-right: 0; }
.six-cities .city-vancouver a       { background-position: -520px 0; }
/*.six-cities .city-vancouver a:hover { background-position: -520px -34px; }*/



.homePod {
	width: 375px;
	height: 440px;
	background: url(images/home_pod.jpg) no-repeat;
	padding: 25px 15px;
	font-size: 12px;
	line-height: 18px;
    overflow: hidden;
	color: #3b3b3b;
}

.homePod h2 {
    margin-top: 0;
}

.homePod p {
	padding:0px 15px;
	margin-bottom:2px;
}

.homeThumbContainer {
	width: 373px;
	height: 316px;
    overflow: hidden;
	border: solid 1px #dedede;
}

.homeThumbContainer img {
    height: auto;
    max-width: 100%;
}

.homeThumbContainer iframe {
    height: 318px;
}

.homePod a[href$='.pdf'] {
    background: none;
    padding-left: 0;
}

.homePod .more-link {
    float: right;
    font-weight: bold;
    margin-right: 15px;
}

.socialIconHome {
	display:block;
	float:right;
}

#tagContainer {
	width:820px;
	margin:20px 0px;
	font-size:12px;
	line-height:18px;
}

#tagContainer a {
	font-size:12px;
	line-height:18px;
	color:#ec6921;
}

/* ********** SEARCH RESULT STYLES ********** */

.searchResultContainer {
	padding-bottom:25px;
	margin-bottom:30px;
	border-bottom:solid 1px #d4d4d4;
}

.searchResultContainer a {
	color:#404040;
}

.searchResultContainer a:hover {
	color:#40d5db;
	text-decoration:none;
}

.searchTitle a {
	text-decoration:none;
	font-size:16px;
	color:#40d5db;
	font-weight:bold;
}

#searchPaginationContainer {
	display:block;
	float:right;
	font-size:14px;
}

.searchTitle a:hover {
	text-decoration:none;
	color:#333333;
	font-weight:bold;
}

/* ********** MAIN CONTENT STYLES ********** */

.main-content h2,
.main-content h3,
.main-content h4 {
    color: #008b8b;
    font-weight: bold;
}

.main-content h2 {
    font-size: 22px;
    line-height: 30px;
}

.main-content h2 span {
    display: block;
}

.main-content h4 {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 10px;
}

.cma-gallery a {
    color: #00c4e8;
}

.cma-gallery a:hover {
    text-decoration: underline;
}

/* ********** PAGINATION STYLES ********** */

.wp-pagenavi {

}

.pages {

}

.current {
	padding:5px;
	color:#40d5db;
}

.page {
	padding:5px;
	color:#404040;
}

.page:hover {
	text-decoration:none;	
	color:#40d5db;
}

.nextpostslink {
	padding:4px 20px;
	border:solid 1px #e7e7e7;
	color:#505050;
	margin-left:10px;
	background:url(images/pagination_btn_bg.jpg) repeat-x;
}

.nextpostslink:hover {
	color:#333333;
	text-decoration:none;
	background:url(images/pagination_btn_bg_hover.jpg) repeat-x;
}

.previouspostslink {
	padding:4px 20px;
	border:solid 1px #e7e7e7;
	color:#505050;
	margin-right:10px;
	background:url(images/pagination_btn_bg.jpg) repeat-x;
}

.previouspostslink:hover {
	color:#333333;
	text-decoration:none;
	background:url(images/pagination_btn_bg_hover.jpg) repeat-x;
}

/* ********** BLOG STYLES ********** */

#blogContainer {
	width:820px;
}

#blogContainerTop {
	width:820px;
	height:48px;
	background:url(images/bucket_top.png) no-repeat;
}

#blogContainerInner {
	width:820px;
	background:url(images/bucket_middle.png) repeat-y;
}

#blogContainerBottom {
	width:820px;
	height:83px;
	background:url(images/bucket_bottom.png) no-repeat bottom;
}

.blogPostContainerFirst {
	width:730px;
	padding:0px 45px 30px 45px;
}

.blogPostContainer {
	width:730px;
	padding:40px 45px 30px 45px;
	border-top:solid 1px #e4e5e7;
}

.blogPostContainerFirst h3 {
	margin:0px 0px 10px 0px;
	color:#000000;
	font-weight:bold;
	font-size:16px;
}

.blogPostContainerFirst h3 a {
	color:#000000;
	text-decoration:none;
}

.blogPostContainer h3 {
	margin:0px 0px 10px 0px;
	color:#000000;
	font-weight:bold;
	font-size:16px;
}

.blogPostContainer h3 a {
	color:#000000;
	text-decoration:none;
}

.blogThumbnailContainer {
	display:block;
	float:right;
	margin-left:40px;
	border:solid 1px #e4e5e7;
}

/* ********** TNRN MAILING LIST ********** */

#tnrnMailingListContainer {
	padding:10px 20px;
	background-color:#49c3db;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border:solid 1px #2f92af;
}

.btn {
	clear: both;
	width: auto;
	display: block;
	margin: 1em 0 1em 5%;
	text-transform:uppercase;
	padding:4px 8px;
	background-color:#ec6921;
	border:none;
	color:#ffffff;
	cursor:pointer;
	font-weight:bold;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-size:12px;
}

.btn:hover {
	clear: both;
	width: auto;
	display: block;
	margin: 1em 0 1em 5%;
	text-transform:uppercase;
	padding:4px 8px;
	background-color:#bc4300;
	border:none;
	color:#ffffff;
	cursor:pointer;
	font-weight:bold;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-decoration:none;
}


/* ********** GENERAL CLASSES ********** */

.clear {
	clear:both;
}

a.researchPaperBlock {
	color:#333333;
}

a.researchPaperBlock:hover {
	color:#333333;
	text-decoration:none;
}

.publicationsContentContainer p {
	margin-bottom:0px;
}


/* ********** CUSTOM CLASSES ********** */


a[href$='.pdf'] {

display:inline-block;

line-height:16px; /* check your icon height */

padding-left:20px;

background: transparent url(http://neighbourhoodchange.ca/wp-content/uploads/images/pdficon_small.png)  center left no-repeat;

}

a[href$='.zip'] {

display:inline-block;

line-height:16px; /* check your icon height */

padding-left:20px;

background: transparent url(http://neighbourhoodchange.ca/wp-content/uploads/images/zipicon_small.png)  center left no-repeat;

}



/* POLICY BRIEFS */

.briefcase {
 width:500px;
 position:relative;
 height:77px;
}

.briefcase-fileinfo {
 position:absolute;
 line-height:14px;
 font-size:12px;
 top:0;
 right:0;
 width:390px;
 height:77px;
}

.center {
 
   margin-top: 2px;
   margin-bottom: 2px;
}

.briefcase-thumb {
 position:absolute;
 text-align: center;
 background-color: #ec6921;
 border: solid 1px #aaa;
 top:0;
 left:0;
 width:100px;
 height:77px;
}

.pblink {

display:inline-block;

line-height:16px; /* check your icon height */

padding-left:20px;

background: transparent url(http://neighbourhoodchange.ca/wp-content/uploads/images/pbicon_small.png)  center left no-repeat;

}

.pb-file-button {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#ededed;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	margin-top:7px;
	color:#777777;
	font-family:arial;
	font-size:12px;
	font-weight:normal;
	padding:5px 2px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
}.pb-file-button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
}.pb-file-button:active {
	position:relative;
	top:1px;
}



/* NICE LINKS */

.nicelink {

   border: solid 1px #aaa;
   border-radius: 3x;
   -moz-border-radius: 3px;
   -webkit-border-radius: 3px;
   background-color: #89ba38;
   color: #000;
   text-decoration: none;
   font-weight: bold;
   margin: 10px 3px 10px 3px;
   padding: 3px;
   display: inline-block;
}

.nicelink:hover { background-color: #ec6921; } 